<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .bw1,
        .bw2 {
            width: 500px;
			height: 500px;
            border: 1px solid red;
            padding: 30px;
        }

        .bw1{
            margin: 30px;
        }

        .bw2{
            background: url(3.jpg) no-repeat;
            background-position: 30px 30px;
        }
    </style>
</head>
<body>
    <div class="bw1">
        <img src="3.jpg" alt="">
    </div>

    <div class="bw2">

    </div>
</body>
</html>